<?php
/* @var $this ExpensesController */
/* @var $model Expense */

$this->breadcrumbs=array(
	'Expenses'=>array('index'),
	$model->ExpenseId,
);

$this->menu=array(
	array('label'=>'List Expense', 'url'=>array('index')),
	array('label'=>'Create Expense', 'url'=>array('create')),
	array('label'=>'Update Expense', 'url'=>array('update', 'id'=>$model->ExpenseId)),
	array('label'=>'Delete Expense', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->ExpenseId),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Expense', 'url'=>array('admin')),
);
?>

<h1>View Expense #<?php echo $model->ExpenseId; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'ExpenseId',
		'SRFNo',
		'CustomerId',
		'CategoryId',
		'Receipt',
		'ExpenseType',
		'Date',
		'Billable',
		'O_Night',
		'ItemDescription',
		'Total',
		'Comment',
		'From',
		'To',
		'Distance',
		'Hour',
		'AtPerHour',
		'CreateAt',
		'UpdateAt',
		'Enabled',
		'UserId',
		'ExchangeRate',
		'DeleteFlg',
		'CurrencyId',
	),
)); ?>
